package com.linewell.system.service;

import java.util.List;

import com.linewell.system.model.SysDepartment;
import com.linewell.system.pagemodel.DataGrid;
import com.linewell.system.pagemodel.PageHelper;
/**
 * SysDepartment的 CRUD接口
 * */
public interface ISysDepartmentService {
	
	public DataGrid datagrid(SysDepartment c, PageHelper ph, Integer depId);

	public List<SysDepartment> getAllDepaetment(Integer type, Integer depId);

	public boolean save(SysDepartment sysDepartment);

	public List<SysDepartment> get(String id);

	public boolean update(SysDepartment sysDepartment);

	public boolean removeAll(Integer id);

	public boolean deleteAll(Integer id);

	public boolean saveOrUpdate(SysDepartment sysDepartment);
}
